// var TN_Widget = function() { return { //Options newWindow : true, linkText : "view
tickets", tixUrl : "http://www.ticketnetwork.com/tix/", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions trackingLink :"", CreateCustomUrl : function(row) { return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx"; }, CreateEventRow : function(row, isAlt) { return "" + row[0] +"" + row[1] +"
" + row[2] +"" + row[3] +"
" + row[4] + "
" + row[5] + ""+ this.linkText+ ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kywrds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability if(this.kbid != "") this.trackingParams = "?img=249&kbid="+this.kbid; var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '' + newTable.join('') + '
'; } else document.write('
' + newTable.join('') + '
'); if(eventData.length >= 100 && kywrds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kywrds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kywrds + " on TicketNetwork.com
"); } } if(eventData.length > 0) { document.getElementById("previewNote").style.display = "none"; } } }; }(); //BPW-TNSERV-02B TN_Widget.CreateTable([['AHL Atlantic Division Semifinals: Hershey Bears vs. Lehigh Valley Phantoms - Home Game 2, Series Game 2','Giant Center','Hershey, PA','Saturday','5/4/2024','7:00 PM','6353770','AHL-Atlantic-Division-Semifinals--Hershey-Bears-vs--Lehigh-Valley-Phantoms---Home-Game-2--Series-Game-2-5-4-2024'],['AHL Atlantic Division Semifinals: Lehigh Valley Phantoms vs. Hershey Bears - Home Game 1, Series Game 3','PPL Center','Allentown, PA','Wednesday','5/8/2024','7:05 PM','6383799','AHL-Atlantic-Division-Semifinals--Lehigh-Valley-Phantoms-vs--Hershey-Bears---Home-Game-1--Series-Game-3-5-8-2024'],['AHL Atlantic Division Semifinals: Lehigh Valley Phantoms vs. Hershey Bears - Home Game 2, Series Game 4 (If Necessary)','PPL Center','Allentown, PA','Saturday','5/11/2024','7:05 PM','6383800','AHL-Atlantic-Division-Semifinals--Lehigh-Valley-Phantoms-vs--Hershey-Bears---Home-Game-2--Series-Game-4--If-Necessary--5-11-2024'],['AHL Atlantic Division Semifinals: Hershey Bears vs. Lehigh Valley Phantoms - Home Game 3, Series Game 5 (If Necessary)','Giant Center','Hershey, PA','Sunday','5/12/2024','7:00 PM','6353771','AHL-Atlantic-Division-Semifinals--Hershey-Bears-vs--Lehigh-Valley-Phantoms---Home-Game-3--Series-Game-5--If-Necessary--5-12-2024'],['AHL Atlantic Division Finals: Lehigh Valley Phantoms vs. TBD - Home Game 1 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Monday','5/13/2024','TBD','6383802','AHL-Atlantic-Division-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-1--Date--TBD---If-Necessary--5-13-2024'],['AHL Atlantic Division Finals: Lehigh Valley Phantoms vs. TBD - Home Game 2 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Tuesday','5/14/2024','TBD','6383803','AHL-Atlantic-Division-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-2--Date--TBD---If-Necessary--5-14-2024'],['AHL Atlantic Division Finals: Lehigh Valley Phantoms vs. TBD - Home Game 3 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Wednesday','5/15/2024','TBD','6383804','AHL-Atlantic-Division-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-3--Date--TBD---If-Necessary--5-15-2024'],['AHL Eastern Conference Finals: Lehigh Valley Phantoms vs. TBD - Home Game 2 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Sunday','5/19/2024','TBD','6383807','AHL-Eastern-Conference-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-2--Date--TBD---If-Necessary--5-19-2024'],['AHL Eastern Conference Finals: Lehigh Valley Phantoms vs. TBD - Home Game 3 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Saturday','5/25/2024','TBD','6383808','AHL-Eastern-Conference-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-3--Date--TBD---If-Necessary--5-25-2024'],['AHL Eastern Conference Finals: Lehigh Valley Phantoms vs. TBD - Home Game 4 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Wednesday','5/29/2024','TBD','6383810','AHL-Eastern-Conference-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-4--Date--TBD---If-Necessary--5-29-2024'],['AHL Calder Cup Finals: Lehigh Valley Phantoms vs. TBD - Home Game 1 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Friday','5/31/2024','TBD','6383811','AHL-Calder-Cup-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-1--Date--TBD---If-Necessary--5-31-2024'],['AHL Calder Cup Finals: Lehigh Valley Phantoms vs. TBD - Home Game 2 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Saturday','6/1/2024','TBD','6383812','AHL-Calder-Cup-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-2--Date--TBD---If-Necessary--6-1-2024'],['AHL Calder Cup Finals: Lehigh Valley Phantoms vs. TBD - Home Game 3 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Friday','6/7/2024','TBD','6383813','AHL-Calder-Cup-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-3--Date--TBD---If-Necessary--6-7-2024'],['AHL Calder Cup Finals: Lehigh Valley Phantoms vs. TBD - Home Game 4 (Date: TBD - If Necessary)','PPL Center','Allentown, PA','Tuesday','6/11/2024','TBD','6383815','AHL-Calder-Cup-Finals--Lehigh-Valley-Phantoms-vs--TBD---Home-Game-4--Date--TBD---If-Necessary--6-11-2024']],'Adirondack Phantoms','http://www.ticketnetwork.com/ticket/Adirondack-Phantoms-events.aspx');